<#include "../common/header.ftl">

<div class="container-layout">
    <hr class="space"/>
    <div class="line">
        <div class="x2 text-center">
            <button class="button icon-navicon" data-target="#nav-link1"></button>
            <ul class="nav nav-navicon" id="nav-link1">
                <li class="nav-head">我的站点</li>
            <#list sites as site>
                <li ${ (currentSite == site) ? string('class="active"','')}>
                    <a href="/manage/sites?site=${site}">${site}</a>
                </li>
            </#list>
            </ul>
        </div>

        <div class="x10">
            <table id="${currentSite}" class="table table-hover">
                <tr>
                    <th width="50px">序号</th>
                    <th>路径</th>
                <#--<th>名称</th>-->
                    <th width="100px">访问次数</th>
                    <th width="200px">最后访问时间</th>
                    <th width="80px">操作</th>
                </tr>
            <#list siteDetailVOList as path>
                <tr>
                    <td>${path_index+1}</td>
                    <td>${path.path}</td>
                <#--<td></td>-->
                    <td>${path.count}</td>
                    <td>${path.lastAccessTime?string("yyyy-MM-dd_HH:mm:ss")}</td>
                    <td>
                        <button class="button button-small bg-gray-light">修改</button>
                    </td>
                </tr>
            </#list>
            </table>

        </div>

    <#--<div class="hidden-l hidden-s x3">-->
    <#--<div class="sidebar doc-sidebar fadein-left">-->
    <#--<ul class="sidenav nav spy fixed" data-offset-fixed="320" data-offset-spy="160">-->
    <#--<li><a href="#header">localhost</a></li>-->
    <#--<li><a href="#header">ibruce.info</a></li>-->
    <#--<li><a href="#header">czsth.com</a></li>-->
    <#--</ul>-->
    <#--</div>-->
    <#--</div>-->
    </div>
</div>

<#include "../common/footer.ftl">